This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
RE: Selecting a date from Combobox ~Mario Lopkistergon 15.Jan.04 07:19 PM a Web browser Domino Designer 6.0.3All Platforms
what style of the combobox did you have? The calendar date control?
What you want is possible. If the user is going to input the field as text, then you have to convert the field to be a date. Next then calculate what is the next Friday date?
For example:
tempvariable := @TexttoTime(<textfieldname>);
tempweekday := @Weekday(tempvariable);
tempnextfriday :=@if(tempweekday=7;@Adjust(tempvariable;0;0;+6;0;0;0);@Adjust(tempvariable;0;0;(6-tempweekday);0;0;0));
The formula language for tempnextfriday should be the date value computed basd on the name of the text fieldname. To wit, <textfieldname> needs to be replace with the actual name of the field. This formula could be placed into a computed date field as well.